package Server.dao;

import Server.entity.Role;
import Server.entity.RoleNavigation;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RoleNavigationDao extends JpaRepository<RoleNavigation,String> {
    List<RoleNavigation> findByRole(Role role);
}
